﻿@model IEnumerable<trangbaocao.Models.Bts>
<!--Body-->
<div align="center"><h1>DANH MỤC THIẾT BỊ BTS</h1></div>
<div class="container_12">
    <div class="grid_12">
        <!-- Notification boxes -->
        @if (TempData["msg"] != null)
        {                            
            <span class="notification n-success">@TempData["msg"]</span>
        }
        @if (TempData["error"] != null)
        {                            
            <span class="notification n-error">@TempData["error"]</span>
        } 
        
        @using (Html.BeginForm("CheckedAction", "Manage_Bts", FormMethod.Post, new { id = "CheckedAction", name = "CheckedAction" }))
        {           
            <div class="module">
                
                <h2><span>@*Sample table*@</span></h2>
                <div class="module-table-body">
                    <div class="scrolling">
                        <div class="data-table" style="width:100%">
                            <table id="myTable" class="tablesorter">
                                <thead>
                                    <tr>
                                        <th style="width:8%;">STT</th>
                                        <th style="width:20%;">Cấu hình cơ bản</th>
                                        <th style="width:25%;">Tên thiết bị</th>
                                        <th style="width:20%">Loại thiết bị</th>
                                        <th >Mô tả thiết bị</th>
                                    </tr>
                                </thead>
                            <tbody>
                        @{int stt = 0;}
                        @foreach (var item in Model)
                        {
                            stt++;
                            <tr>
                                <td class="align-center">@stt</td> 
                                <td align="center">
                                     <a href="@Url.Action("Parameter_Bts", "Manage_Bts", new { device_id = item.device_id })"  class="button">
                                     <span><img src="../../Content/Body/Images/plus-small.gif"  width="12" height="9" alt="Thêm mới" /></span>  </a>
                                </td>                     
                                <td> @Html.DisplayFor(modelItem => item.name)</td>
                                <td> @Html.DisplayFor(modelItem => item.name_sort_device)</td>
                                <td> @Html.DisplayFor(modelItem => item.mo_ta_thiet_bi)</td> 
                            </tr>
                        }   
                        </tbody>
                       
                        </table>
                      <input type="hidden" id = "device_id" value="0" />
                    </div>
                   </div> <!-- End data-table--> 
                    <div class="pager" id="pager">
                        <div>
                        <img class="first" src="@Url.Content("~/Content/Body/Images/arrow-stop-180.gif")"  alt="first"/>
                        <img class="prev" src="@Url.Content("~/Content/Body/Images/arrow-180.gif")" alt="prev"/> 
                        <input type="text" class="pagedisplay input-short align-center"/>
                        <img class="next" src="@Url.Content("~/Content/Body/Images/arrow.gif")" alt="next"/>
                        <img class="last" src="@Url.Content("~/Content/Body/Images/arrow-stop.gif")" alt="last"/>
                        <select class="pagesize input-short align-center">
                            <option value="20" selected="selected">20</option>
                            <option value="30">30</option>
                            <option value="40">40</option>
                        </select>
                        </div>
                    </div>
                   
                    <div style="clear: both"></div>
               
                </div> <!-- End .module-table-body -->
            </div> <!-- End .module --> 
            <div class="bottom-spacing">
            <!-- Button -->
            @*<div class="float-right">
                <a href="@Url.Action("#", "#")" class="button">
                    <span>Thêm thiết bị mới cho trạm<img src="../../Content/Body/Images/plus-small.gif"  width="12" height="9" alt="Thêm mới" /></span>  
                </a>
            </div>    *@
        </div>   
        }                                                                    
	</div> <!-- End .grid_12 -->            
    <div style="clear:both;"></div>            
</div> <!-- End .container_12 -->
<!----------------------------------------------------------------->
<script language="javascript" type="text/javascript">
    function ID_Base() {

    }
</script>

